<!DOCTYPE html>
<html lang="en">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<head>
<title>Search.com - Publicar</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/layout.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link type="text/css" href="css/autosuggest_inquisitor.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.2.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script> 
<script type="text/javascript" src="js/Myriad_Pro_300.font.js"></script>
<script type="text/javascript" src="js/Myriad_Pro_400.font.js"></script>
<script type="text/javascript" src="js/bsn.AutoSuggest_2.1.3.js"></script>
</head>
<body id="page3">
<div class="body1"></div>
<div class="body2">
	<div class="main">
<!--header -->
		<header>
			<div class="wrapper">
				<nav>
					<ul id="menu">
						<li><a href="/">Inicio</a></li>
						<li><a href="explorar">Explorar </a></li>
						<li><a href="ultimaspublicaciones">&Uacute;ltimas publicaciones</a></li>
						<li id="menu_active"><a href="publicar">Publicar</a></li>
						<li class="bg_none"><a href="contacto">Contacto</a></li>
					</ul>
				</nav>
				<h1><a href="/" id="logo">Search.com</a></h1>
			</div>
			<div class="wrapper">
                            <form action="search" method="GET">
				<article class="col1 pad_left2">
					<div class="text1">Publicar documento </div>
					<p class="results">
                        Realizar b&uacute;squeda: <input id="query" type="text" name="q" class="searchtext2" />
                        <input type="submit" name="button" value="Buscar!" class="searchbutton">
                    </p>
				</article>
                            </form>
			</div>
		</header>
	</div>
</div>
<!--header end-->
<!--content -->
<div class="body3">
	<div class="main">
		<section class="content_search">
			<article class="pad pagelabel">
				<h2 class="singlepadding">Publicar</h2>
			</article>
		</section>
	</div>
</div>
<div class="main">
    <br />
    <div>
           <h1> Error publicando el documento!</h1>
    el archivo <strong><%= request.getAttribute ("file_uploaded") %></strong> ya est&aacute; registrado en nuestro servidor.
        </div>
    <br />
    <div>
        Seleccione el documento a publicar en nuestra biblioteca, el mismo deber&aacute; estar en formato <strong>PDF</strong>:
    </div>
    <form method="POST" enctype="multipart/form-data" action="/publicar" style="padding-left: 30px; padding-top: 0;">
    <br><input type="file" name="pdf">
    <br />
    <input type="submit" class="searchbutton">
    </form>
    <br />
</div>
<!--content end-->
<!--footer -->

<div class="body5">
	<div class="main">
		<footer>&copy; 2011 <a href="http://www.search.com/">Search.com</a>  - U.T.N. F.R.C. <br /><strong>Dise&ntilde;o de Lenguajes de Consulta</strong>
		</footer>
	</div>
</div>
<!--footer end-->
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">
	var options_xml = {
		script: "/suggestions?",
		varname: "q",
		shownoresults:false,
		maxresults: 5,
		callback: function (obj) { }
	};
	var as_xml = new bsn.AutoSuggest('query', options_xml);
</script>
</body>
</html>